package com.chatplus.application.domain.request;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

public class SendSmsRequest implements Serializable {
    @NotEmpty(message = "用户名不能为空")
    private String receiver;

    @NotEmpty(message = "人机验证不通过")
    private String key;

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
